package com.quyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quyu.dto.LoginFormDTO;
import com.quyu.dto.Result;
import com.quyu.entity.User;

import javax.servlet.http.HttpSession;


public interface
IUserService extends IService<User> {

    Result sendCode(String phone, HttpSession session);

    Result login(LoginFormDTO loginForm, HttpSession session);


    void updatePwd(Long userId, String newPwd);

    Result passwordlogin(String phone,String password);
}
